//
//  ZJSCargoValueSlider.h
//  ZallDemo
//
//  Created by so on 16/9/5.
//  Copyright © 2016年 so. All rights reserved.
//

#import "ZallBaseControl.h"

@interface ZJSCargoValueSlider : ZallBaseControl

/**
 *  @brief  值，默认 0
 */
@property (assign, nonatomic) CGFloat value;

/**
 *  @brief  最小值，默认 0
 */
@property (assign, nonatomic) CGFloat minimumValue;

/**
 *  @brief  最大值， 默认 1.0f
 */
@property (assign, nonatomic) CGFloat maximumValue;

/**
 *  @brief  最小值时的颜色，默认 lightGrayColor
 */
@property (strong, nonatomic) UIColor *minimumValueColor;

/**
 *  @brief  最大值时的颜色，默认 UIColorFromHexRGB(0xff6600)
 */
@property (strong, nonatomic) UIColor *maximumValueColor;

/**
 *  @brief  进度线宽，默认 8.0f，最小为1.0f
 */
@property (assign, nonatomic) CGFloat progressWidth;

/**
 *  @brief  是否需要显示文本框，默认 NO
 */
@property (assign, nonatomic, getter=isNeedShowText) BOOL needShowText;

/**
 *  @brief  文本
 */
@property (nonatomic, readwrite) NSString *text;

@end
